import {createStore, applyMiddleware} from 'redux'
import Reducer from './reducer'
/* 
  redux-thunk主要的功能就是可以让我们dispatch一个函数，而不只是普通的 Object
*/
import thunk from 'redux-thunk'

let store = createStore(
  Reducer,
  applyMiddleware(thunk)
)
export default store